<template>
  <a-row type="flex" :gutter="16">
    <a-col :md="5" :sm="24">
      <staff-tree v-model="currentOrgCode" @selectedNode="selectedNode"/>
    </a-col>
    <a-col :md="24-5" :sm="24">
      <classtime-report v-model="nodeObj"/>
    </a-col>
  </a-row>
</template>

<script>

import staffTree from '@views/gfxy/common/staffTree'
import ClasstimeReport from '@views/gfxy/classtime/classtimeReport'

export default {
  name: 'classtimeView.vue',
  components: { ClasstimeReport, staffTree },
  data() {
    return {
      description: '课时统计页面',
      currentOrgCode: '',
      nodeObj:{},
      disableMixinCreated:false
    }
  },

  methods: {
    selectedNode(nodeObj){
      this.nodeObj = nodeObj
      console.log(nodeObj)
    }

  },
  mounted() {

  }
}
</script>

<style scoped>


/*.ant-tree {*/
/*  height: 100%;*/
/*  overflow-y: scroll*/
/*}*/
/*ant-tree{*/
/*  height: 100%;*/
/*  overflow-y: scroll*/
/*}*/
</style>